//
//  WmcMediaClassifyAlbumMemberModel.swift
//  YPWatermarkCamera
//
//  Created by 周诗松 on 2022/9/15.
//

import Foundation
import YPNetwork

class WmcMediaClassifyAlbumMemberModel: YPNetworkJsonProtocol,WmcteamMemberModelProtocol {
    
    enum LoadStatus {
        case notLoaded
        case loading
        case loadsuccess
        case loadFailure
    }
    
    required init() {
        
    }
    
    /// 成员id
    var memberId: Int = 0
    
    /// 数量
    var num: Int = 0
    
    var url: String = ""
    
    /// 拍摄时间
    var takeTime: String = ""
    
    /// 标记
    var remark: String?
    
    var uid: Int = 0
    
    /// 资源类型，0:图片，1:视频
    var resourceType: Int = 0 // 这种改成 int 切合之前的接口
    
    
    /// 以下 为了复用之前的逻辑，增加的额外字段
    
    /// 城市
    var city: String = ""
    
    /// 地址
    var address: String = ""
    
    /// 2022-06-01 11:58:53
    var createdAt: String = ""
    
    /// 年月日
    var takeTimeDateStr: String = ""
    
    /// 小时分钟
    var takeTimeStr: String = ""
    
    /// 加载状态
    var loadStatus: LoadStatus = .notLoaded
    
    var lat: Double = 0.0
    
    var lon: Double = 0.0
}
